package
{
	import flash.display.Sprite;
	[SWF(width="800",height="600")]
	public class TestMain extends Sprite
	{
		public function TestMain()
		{
			update()
		}
		
		public function update():void{
			this.graphics.clear();
			this.graphics.beginFill(0xffffff * Math.random());
			this.graphics.drawRect(0,0,400,400);
			this.graphics.endFill();
			trace("1000");
		}
	}
}